<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" type="image/svg+xml" href="/vite.svg" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <style>
      .g-loading-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle, rgba(240, 240, 240, 0.95), rgba(230, 230, 230, 0.98));
        backdrop-filter: blur(15px);
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
        z-index: 9999;
      }

      .g-loading-spinner {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        background: conic-gradient(
          from 90deg at 50% 50%,
          rgba(255, 255, 255, 0) 0deg,
          #3498db 180deg,
          #6c5ce7 360deg
        );
        animation: spin 1.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
        box-shadow: 0 0 30px rgba(52, 152, 219, 0.3), 0 0 60px rgba(108, 92, 231, 0.2);
        position: relative;
      }

      .g-loading-spinner::after {
        content: '';
        position: absolute;
        width: 55px;
        height: 55px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(245, 245, 245, 0.98));
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
      }

      @keyframes spin {
        0% {
          transform: rotate(0deg);
        }
        100% {
          transform: rotate(360deg);
        }
      }

      .g-loading-container__text {
        font-size: 36px;
        font-weight: bold;
        background: linear-gradient(90deg, #3498db, #6c5ce7, #3498db);
        background-size: 200% 100%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: text-gradient 3s linear infinite;
      }

      @keyframes text-gradient {
        0% {
          background-position: 0% 50%;
        }
        100% {
          background-position: 200% 50%;
        }
      }
    </style>
  </head>
  <body>
    <div id="app"></div>
    <div class="g-loading-container">
      <div class="g-loading-container__text"></div>
      <div class="g-loading-spinner"></div>
    </div>
    <script type="module" src="/src/main.ts"></script>
  </body>
</html>
